<%@ page import="battleship.CacheFilter" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<!DOCTYPE html>
<html lang="et">
<head>
    <title>Laevade pommitamine</title>
    <%--<link rel="stylesheet" type="text/css" href="main.css" />--%>
    <%--<link rel="stylesheet" type="text/css" href="replay.css" />--%>
    <%--<script type="text/javascript" src="jquery-1.7.1.js"></script>--%>
    <%--<script type="text/javascript" src="replayChoice.js"></script>--%>
    <%--<script type="text/javascript" src="replay.js"></script>--%>
    <%
        final String[] resources = {"main.css", "replay.css",
                "min/jquery-1.7.1.js", "min/replayChoice.js", "min/replay.js"};
        ServletContext context = session.getServletContext();

        for (String resource : resources) {
            out.write(CacheFilter.getResource(context, resource));
        }
    %>
</head>

<body>
    <div id="content">
        <div id="title_area">
            <h1 id="title_header">Laevade pommitamine</h1>
        </div>
        <div id="center_area">
            <div id="replayChoice">
                <div class="replayChoiceTitle">
                    <h2 id="replayChoiceTitleText">Mängude taasesitus</h2>
                </div>
                <div id="replayMenuButtons">
                    <button id="logOutButton" class="button replayMenuButton">Logi välja</button>
                    <button id="scoresButton" class="button replayMenuButton">Edetabel</button>
                    <button id="lobbyButton" class="button replayMenuButton">Ooteruum</button>
                    <button id="gameButton" class="button replayMenuButton">Mäng</button>
                </div>
                <div class="replayOptionsTitle">
                    <p>Vali mäng, mida soovid taasesitada:</p>
                </div>
                <div class="replayOptions">
                    <div class="replayOptionsInner">
                        <form id="chooseReplay" action="">

                        </form>
                    </div>
                </div>
                <div id="replayChoiceLowerArea">
                    <button id="replayAutoButton" class="button replayChoiceButton">Esita mäng</button>
                    <button id="replayManualButton" class="button replayChoiceButton">Mängi ise läbi</button>
                </div>
            </div>
        </div>
        <div id="footer">
        </div>
    </div>
</body>
</html>